from base.find_element import FindElement

class RegisterPage:
    def __init__(self,driver):
        self.element = FindElement(driver)

    def get_email_element(self):
        return self.element.get_element('user_email')


    def get_emailerror_element(self):
        return self.element.get_element('email_error')

    def get_username_element(self):
        return self.element.get_element('user_name')

    def get_usererror_element(self):
        return self.element.get_element('user_name_error')

    def get_password_element(self):
        return self.element.get_element('password')

    def get_passworderror_element(self):
        return self.element.get_element('password_error')

    def get_code_element(self):
        return self.element.get_element('code_text')

    def get_codeerror_element(self):
        return self.element.get_element('code_error')

    def get_register_button_element(self):
        return self.element.get_element('register_button')


